package mapper;

import entity.Category;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CategoryMapper {
    @Select("select * from T_CATEGORY where parentid=#{parentid}")
    List<Category> selectByParentid(Integer parentid);
}
